﻿<%@ Page Language="C#" MasterPageFile="~/ClientSite.Master" AutoEventWireup="true"
    CodeBehind="NewProducts.aspx.cs" Inherits="SES.CMS.NewProducts" Title="Trang trí ngoại thất" %>

<%@ Register Src="Module/ucLeftMenu.ascx" TagName="ucLeftMenu" TagPrefix="uc1" %>
<%@ Register Src="Module/ucListProductType.ascx" TagName="ucListProductType" TagPrefix="uc2" %>
<%@ Register Src="Module/ucBreadcrumb.ascx" TagName="ucBreadcrumb" TagPrefix="uc3" %>
<%@ Register TagPrefix="cc1" Namespace="SiteUtils" Assembly="CollectionPager" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="header">
        <div class="page_margins">
            <div class="page">
                <div id="keyvisual">
                    <asp:Image runat="server" ID="imgProductType" Width="945px" Height="215px" ImageUrl="/Media/sanphammoi.jpg" AlternateText="sale-off" />
                </div>
            </div>
        </div>
    </div>
    <div id="main">
        <div class="page_margins">
            <div class="page">
                <uc3:ucBreadcrumb runat="server" ID="ucBread1"></uc3:ucBreadcrumb>
                <div class="subcolumns">
                    <div class="c20l">
                        <uc1:ucLeftMenu runat="server" ID="ucLeftMenu1"></uc1:ucLeftMenu>
                    </div>
                    <div class="c80r">
                        <div class="subcolumns optionblock">
                            <div class="c33l">
                                <div class="subcl">
                                    <div class="productamount">
                                        <span class="label"><font>
                                            <asp:Label runat="server" ID="rlblView" Text="<%$Resources:Language, rlblView %>"></asp:Label></font></span>
                                        <asp:LinkButton runat="server" ID="lbtn20" Text="20" OnClick="lbtn20_Click"></asp:LinkButton>
                                        <asp:LinkButton runat="server" ID="lbtn50" Text="50" OnClick="lbtn50_Click"></asp:LinkButton>
                                        <asp:LinkButton runat="server" ID="lbtn100" Text="100" OnClick="lbtn100_Click"></asp:LinkButton>
                                    </div>
                                </div>
                            </div>
                            <div class="c33l">
                                <div class="subc">
                                    <div class="productbrowser">
                                        <cc1:CollectionPager ID="CollectionPager1" runat="server" BackText="Back" ShowFirstLast="false"
                                            NextText="Next" SliderSize="10" PagingMode="PostBack">
                                        </cc1:CollectionPager>
                                    </div>
                                </div>
                            </div>
                            <div class="c33r">
                                <div class="subcr">
                                    <div class="productsorting">
                                        <span class="label"><font>
                                            <asp:Label runat="server" ID="rlblSortBy" Text="<%$Resources:Language,rlblSortBy %>"></asp:Label></font></span>
                                        <asp:DropDownList runat="server" ID="ddlSortBy" AutoPostBack="true" OnSelectedIndexChanged="ddlSortBy_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="subcolumns productteaser">
                            <asp:Repeater runat="server" ID="rptpro">
                                <ItemTemplate>
                                    <div class="c20l">
                                        <div class="subc">
                                            <a href='/SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenSanPham").ToString()): (Eval("ProductName")+".aspx")%>'
                                                title="Demo">
                                                <input type="hidden" name="ldtype" value="infogrid">
                                                <input type="hidden" name="stoken" value="FB22994"><input type="hidden" name="force_sid"
                                                    value="">
                                                <input type="hidden" name="lang" value="0">
                                                <input type="hidden" name="pgNr" value="0">
                                                <input type="hidden" name="cl" value="start">
                                                <input type="hidden" name="fnc" value="tobasket">
                                                <input type="hidden" name="aid" value="ggia6c31f503ec16d4a68f7d3e114422">
                                                <input type="hidden" name="anid" value="ggia6c31f503ec16d4a68f7d3e114422">
                                                <input id="am_bargainItems_1" type="hidden" name="am" value="1">
                                                <img src="/Media/<%#Eval("HinhAnh")%>" class="productimg" alt="xxx" />
                                                <span class="producttitle">
                                                    <%#(bool)(Session["lang"].ToString()=="VN")?Eval("TenSanPham"):Eval("ProductName") %>
                                                </span><span class="productoldprice">
                                                    <%#(bool)(int.Parse(Eval("GiamGia").ToString())>0)?((bool)(Session["lang"].ToString()=="VN")?Eval("DonGia","{0:0,0 đ}"):Eval("Price","{0:0,0 $}")):"" %></span>
                                                <span class="productactprice">
                                                    <%#(bool)(Session["lang"].ToString()=="VN")?Eval("GiaHienTai","{0:0,0 đ}"):Eval("PresentPrice","{0:0,0 $}") %></span>
                                                <span class="productdetail">
                                                    <asp:Label runat="server" ID="Label1" Text="<%$ Resources:Language,rlblDetail %>"></asp:Label></span>
                                                <div class="functions" itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
                                                    <div class="tobasketFunction clear">
                                                    </div>
                                                </div>
                                            </a>
                                        </div>
                                    </div>
                                </ItemTemplate>
                            </asp:Repeater>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
